package com.qf.dao;

import com.qf.pojo.TbCource;
import com.qf.pojo.TbCourceExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface TbCourceDao {
    long countByExample(TbCourceExample example);

    int deleteByExample(TbCourceExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbCource record);

    int insertSelective(TbCource record);

    List<TbCource> selectByExample(TbCourceExample example);

    TbCource selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbCource record, @Param("example") TbCourceExample example);

    int updateByExample(@Param("record") TbCource record, @Param("example") TbCourceExample example);

    int updateByPrimaryKeySelective(TbCource record);

    int updateByPrimaryKey(TbCource record);
}